export function username (date, fmt) {
    // 获取用户信息
    var username = localStorage.getItem("this_username")   
    
    if(username !== null){
        $('#username').html(username)
        $('#online').show()
    }else{
        $('#username').html('暂无')
        $('#login').show()
    }

    return username;
};